package atmGUI.dao;

import atmGUI.pojo.UserDO;

public interface UserDAO {
    /**
     * 持久层
     * 根据账号和密码查询用户
     * @param userAccount
     * @param password
     * @return
     */
    UserDO getByUserAccountAndPassword(String userAccount, String password);

    UserDO getById(int id);

    void update(UserDO userDO);

    UserDO  getByUserAccount(String account);
}
